//
//  LZEnum.h
//  laziz_Consumer
//
//  Created by xbnzd on 16/11/10.
//  Copyright © 2016年 XBN. All rights reserved.
//

#ifndef LZEnum_h
#define LZEnum_h

#pragma mark - 标记键盘语言状态
typedef NS_ENUM(NSInteger, KeyBoardLanguage){
    kLanguage_AR = 0,
    kLanguage_EN = 1,
    kLanguage_CH = 2,
    kLanguage_NONE = 3
    
} ;

#pragma mark - 登陆状态  1 手机号验证码 2 用户名密码
typedef NS_ENUM(NSInteger, LoginType){
    kLogin_fast = 1, //快捷登陆
    kLogin_phone = 2, //手机登陆
    kLogin_eMail = 3  //邮箱登陆 //员工账号登陆
    
} ;

#pragma mark - 注册标记 1手机 2 邮箱
typedef NS_ENUM(NSInteger,RegisterType) {
    kRegisterType_phone = 1,
    kRegisterType_email = 2
};

#pragma mark - 标记基本的请求状态
typedef NS_ENUM(NSInteger, ResponseCode) {
    kCodeSuccesss = 2000000,
    kCodeFiled    = 1111111,
    kCodeUseNameRegistered = 0400014
};

#pragma mark - 标记优惠列表四个选项的状态      == 减去1000 就是 请求数据时的状态值
typedef NS_ENUM(NSInteger, CouponListTitleStateCode) {
    kCoupon_notSubmit = 1001,  //未提交
    kCoupon_waitPublish = 1003,  //等待发布
    kCoupon_hasBeenPublished = 1005,  //已经发布
    kCoupon_hasBeenFinished = 1006    //已经下架
};

#pragma mark - 标记优惠相关中各种点击事件
typedef NS_ENUM(NSInteger, CouponListEventCode) {
    kCouponList_delete = 2000, //删除事件
    kCouponList_edit = 2001, //编辑事件
    kCouponList_submit = 2002, //提交审核事件
    kCouponList_publish = 2003, //发布优惠事件
    kCouponList_finish = 2004, //下架优惠事件
    kCouponList_copy = 2005,  //复制优惠事件
    kCouponList_detail = 2006, //优惠详情事件
    kCouponList_playVideo = 2007, //点击播放视频事件
    kCouponList_couponDetail = 2008, //点击优惠详情事件
    kCouponList_groupDetail = 2009, //点击团购详情事件
    kCouponList_saved = 2010 //保存优惠事件

};


#pragma mark - 标记优惠的各种状态==状态值与后台返回的状态值相匹配
typedef NS_ENUM(NSInteger, CouponDetailStateCode) {
    kCouponDetail_saved = 1, //已经保存
    kCouponDetail_waitApproval = 2, //等待审核
    kCouponDetail_approved = 3, //审核通过
    kCouponDetail_rejected = 4, //审核驳回
    kCouponDetail_published = 5,  //已经发布
    kCouponDetail_finished = 6, //已经完成,下线
    
};

#pragma mark - 标记优惠的删除状态.能够显示的肯定都是未删除的状态
typedef NS_ENUM(NSInteger, CouponDeleteStateCode) {
    kCouponDelete_delete = 0, //删除
    kCouponDelete_notDelete = 1, //未删除
  
};

#pragma mark - web页内容展示类型
typedef NS_ENUM(NSInteger, WebStateCode) {
    kWebState_service = 1, //服务协议
    kWebState_aboutUs = 2,//关于我们
    kWebState_ratingRules = 3 //评分规则
};

#pragma mark - 商户状态
typedef NS_ENUM(NSInteger,MerchantAuthType) {
    kAuthType_noneAuth = 0, //未认证
    kAuthType_waitAuth = 1, //已经提交认证,等待认证
    kAuthType_completeAuth = 2, //完成认证
    kAuthType_rejectAuth = 3, //审核拒绝
    kAuthType_deadAuth = 4 //已经停用
};

#pragma mark - 登陆后,用户类型
typedef NS_ENUM(NSInteger, UserType) {
    kUserType_manmager = 3, //管理者,,老板
    kUserType_staff = 5 //员工
};


#pragma mark - 登陆后,员工权限
typedef NS_ENUM(NSInteger,StaffType) {
    kStaffType_promotion = 2, //发优惠的权限
    kStaffType_checkout = 1, //结账的权限
    kStaffType_all = 3 //两种权限都有
};


#pragma mark - 消息类型
typedef NS_ENUM(NSInteger,MsgCenterType) {
    kMsgCenterType_sys = 1, //系统消息
    kMsgCenterType_customerVideoComment = 2,//视频评论回复
    kMsgCenterType_checkouRemind = 3,//结账评论
    kMsgCenterType_customerResComment = 4, //餐厅评论回复
    kMsgCenterType_couponExpired = 5,//优惠券即将过期
    kMsgCenterType_groupExpired = 6, //团购即将过期
    kMsgCenterType_groupSuccess = 7, //团购已经成团
    kMsgCenterType_resAuthRegected = 9, //商户认证失败
    kMsgCenterType_resAuthSuccess = 8, //商户认证通过
    kMsgCenterType_photosDelete = 10, //商户照片违规被删除
    kMsgCenterType_finicalRecode = 11,  //平台给商家结账通知
    kMsgCenterType_videoComment = 12, //视频评论
    kMSgCenterType_resComment = 13 //餐厅评论
    
};

#endif /* LZEnum_h */
